﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>

<script type="text/javascript">
    function SelectHouse(url) {
        window.open(url+'&rdm='+Math.random(),'showinfo','scrollbars=yes, left=10,top=100,width=1000,height=550');
    }
    function SelectHouse1() {
        var newpid='<%=HttpContext.Current.Request["PID"].ToString() %>';
        window.open('PerSelect.aspx?PID='+newpid+'&rdm='+Math.random(),'showinfo','scrollbars=yes, left=10,top=100,width=1000,height=550');
    }
    function SetControlsValue(objResource) {
        document.getElementById('<%=hfdQqh.ClientID %>').innerText = objResource;
        window.location.replace(document.URL);
    }
    function XCException(url){
         window.open(url+'&rdm='+Math.random(),'showinfo','scrollbars=yes, left=10,top=100,width=500,height=400');
    }
    function SetControlsValues() {
        window.location.replace(document.URL);
    }
    function setValue(obj) {
        var element = document.getElementsByTagName("input");

        if (element.length > 0) {
            for (var i = 0; i < element.length; i++)
                if (element[i].type == 'radio')
                element[i].checked = false;
        }
        obj.checked = true;
        if (obj.checked) {
            document.getElementById('<%=project_id.ClientID %>').value = obj.valueid;
        } else {
            document.getElementById('<%=project_id.ClientID %>').value = document.getElementById('<%=project_id.ClientID %>').value.replace(obj.id, "");
        }
    }
    function setNull() {
        arrProjectInfo.length = 0;
    }
</script>

<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
    margin-top: 1px">
    <tr>
        <td valign="middle" height="30">
            <font id="Font1" style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left;
                color: black; text-indent: 1em;" runat="server">货币化补偿协议备案 </font>
        </td>
    </tr>
</table>
<table class="window_tab_list" style="width: 98%; margin-top: 20px; margin-bottom: 10px;
    line-height: 35px; text-align: center;" align="center">
    <tr>
        <td>
            姓名
        </td>
        <td>
            <asp:TextBox runat="server" ID="产权人"></asp:TextBox>
        </td>
        <td>
            房屋坐落
        </td>
        <td>
            <asp:TextBox runat="server" ID="房屋坐落"></asp:TextBox>
        </td>
        <td>
            选择排序方式
        </td>
        <td>
            <asp:DropDownList ID="排序" runat="server" >
                <asp:ListItem Text="请选择" Value="请选择"></asp:ListItem>
                <asp:ListItem Text="协议号" Value="协议号"></asp:ListItem>
                <asp:ListItem Text="备案时间" Value="备案时间"></asp:ListItem>
            </asp:DropDownList>
        </td>
        
        <td>
            <asp:Button ID="btnSearch" runat="server" Text="查询" />
        </td>
        <td>
            <input id="Button1" type="button" value="重置" onclick="javascript:window.location.href=window.location.href;" />
        </td>
        <td>
            <asp:Button ID="btnRY" runat="server" Text="人员关联" Visible="false" />
            <input id="Button4" type="button" value="人员关联" onclick="SelectHouse1()" />
            <asp:HiddenField ID="hfdQqh" runat="server" />
        </td>
    </tr>
</table>
<center style="margin-left: 10px;">
    <div style="text-align: left;">
        &nbsp; <span style="background-color: #FE6501;">&nbsp;&nbsp;</span><span style="font-size: 12px;">补偿装修费用已超过预警值</span>
        <span style="background-color: Red;">&nbsp;&nbsp;</span><span style="font-size: 12px;">补偿价款已严重超过此区域房屋均价</span>
        补偿装修费用预警值百分比现为：<asp:Label ID="Label1" runat="server" Text="" ForeColor="Red"></asp:Label>%
    </div>
         
    <CBW:CustomGridView ShowItemNumber="true" AutoGenerateColumns="false" ID="CustomGridList1"
        runat="server" AllowPaging="true" AllowSorting="false" CustomSortExpression="" PageSize="13"
        HideTextLength="20" ShowCmpAndCancel="true" ShowHideColModel="None" Width="99%"
        CssClass="window_tab_list" EnableViewState="true" CustomGridViewClass="window_tab_list_fst" 
        RowStyle-HorizontalAlign="Center">
        <Columns>
            <asp:TemplateField HeaderText ="选择">
                <ItemTemplate>
                     <input type="radio" id="rb" runat="server"/>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="协议号" HeaderText="协议号" />
            <asp:BoundField DataField="产权人" HeaderText="产权人" />
            <asp:BoundField DataField="房屋权证编号" HeaderText="产权证号" />
            <asp:BoundField DataField="承租人" HeaderText="承租人" />
            <asp:BoundField DataField="证件号" HeaderText="证件号" />
            <asp:BoundField DataField="房屋坐落" HeaderText="房屋坐落" />
            <asp:BoundField DataField="房屋建筑面积" HeaderText="房屋建筑面积(平方米)" />
            <asp:BoundField DataField="补偿款" HeaderText="补偿款(元)" />
            <asp:BoundField DataField="装修及其它补偿补助款" HeaderText="装修及其它补偿补助款(元)" />
            <asp:BoundField DataField="营业补偿补助款" HeaderText="营业补偿补助款(元)" />
          <%--  <asp:TemplateField HeaderText="补偿款(元)">
                <ItemTemplate></ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="装修及其它补偿补助款(元)">
                <ItemTemplate></ItemTemplate>
            </asp:TemplateField>--%>
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <a href="HuoBiHuaBuChangXieYi.aspx?PID=<%#Eval("PNID") %>&PERSONID=<%#Eval("PERSONID") %>&ID=<%#Eval("ID") %>&query=hbhbc&type=<%=Request["query"] %>">
                        录入</a>
                    
                    <%--&nbsp;&nbsp;<a href='http://192.168.253.20/njfcfw/index.html?number=<%# Eval("丘权号") %>'
                            target="_blank"><asp:Label ID="Label2" runat="server" Text="地图"></asp:Label></a>--%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField Visible="false">
                <ItemTemplate>
                    <asp:HiddenField ID="HiddenField1" runat="server" Value='<%# Eval("PERSONID") %>'>
                    </asp:HiddenField>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </CBW:CustomGridView>
    <asp:Button ID="Button2" runat="server" Text="消除异常" />&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="Button3" runat="server" Text="Excel" />
    <asp:Label ID="Label4" runat="server" ForeColor="Red" Font-Size="12px"></asp:Label>
    <div style="text-align: left; font-size: 12px;">&nbsp; 
        <span style="background-color:Yellow;">&nbsp;&nbsp;</span>已提交&nbsp;&nbsp;
        <span style="background-color:Green;">&nbsp;&nbsp;</span>已审核&nbsp;&nbsp;
        <span style="background-color:#9ED6F6;">&nbsp;&nbsp;</span>备案通过&nbsp;&nbsp;
        <span style="background-color: #a8d54a;">&nbsp;&nbsp;</span>
        <span style="font-size: 12px;">补偿装修费用已超过评估总价，请确认
            <font color="Red">分户评估补偿总价</font>与<font color="Red">装饰装修补偿总价</font>均已录入</span> 
        <span style="background-color: #de7474;">&nbsp;&nbsp;</span>
        <span style="font-size: 12px;">补偿价款超过此区域房屋均价</span>
    </div>
    <div style="text-align: left; font-size: 12px;">&nbsp;
        <font color='#a8d54a'>★</font> 为消除补偿装修费用已超过评估总价异常&nbsp;&nbsp; 
        <font color='#de7474'>◆</font> 为消除补偿价款超过此区域房屋均价异常&nbsp;&nbsp;<br />&nbsp;
        <font color='#FE6501'>★</font> 为消除补偿装修费用超过预警值异常&nbsp;&nbsp; 
        <font color='red'>◆</font> 为消除补偿价款严重超过此区域房屋均价异常&nbsp;&nbsp;
    </div>
    <div style="display: none;">
        <asp:TextBox ID="project_id" runat="server"></asp:TextBox>
    </div>
</center>
